package com.ccb.sc.payment.plugin;

import com.ccb.sc.payment.vo.QueryResultVo;
import com.ccb.sc.common.modules.payment.entity.Payment;
import com.ccb.sc.common.modules.payment.vo.PluginAttributeVo;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import java.math.BigDecimal;
import java.util.List;

/***
 * 会员卡支付插件
 * @author ken
 * @since 2020-09-21
 */
@Component("walletPayPlugin")
public class WalletPaymentPlugin extends AbstractPaymentPlugin {

    @Override
    public QueryResultVo doQuery(String sn) {
        return null;
    }

    @Override
    protected List<PluginAttributeVo> getCustomSettingKeys() {
        return null;
    }

    @Override
    public String getPluginName() {
        return "余额支付";
    }

    @Override
    public void refund(String id, String outTradeNo, BigDecimal amount) {

    }

    @Override
    public String getClientType() {
        return null;
    }

    @Override
    public boolean verifyNotify(Payment payment, HttpServletRequest request) {
        return false;
    }

    @Override
    public String getNotifyMessage(String sn, HttpServletRequest request) {
        return null;
    }

    @Override
    public Integer getTimeout() {
        return 120;
    }

}
